<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" 
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html">
<h:head>
	<title>homeR</title>
</h:head>
<h:body>
	<h:dataTable value="#{pluginsBean.configuredPlugins}" var="plugin">
		<h:column>
			<f:facet name="header">Name</f:facet>
			<h:outputText value="#{plugin.name}" />
		</h:column>
		<h:column>
			<f:facet name="header">Plugin</f:facet>
			<h:outputText value="#{plugin.configuredPlugin.pluginClassName}" />
		</h:column>
	</h:dataTable>
	<h:dataTable value="#{pluginsBean.availablePlugins}" var="plugin"
		binding="#{pluginsBean.availablePluginTable}">
		<h:column>
			<f:facet name="header">name</f:facet>
			<h:outputText value="#{plugin.name}" />
		</h:column>
		<h:column>
			<f:facet name="header">Plugin</f:facet>
			<h:outputText value="#{plugin.pluginClassName}" />
		</h:column>
		<h:column>
			<h:commandButton type="button" value="Add" id="addButton"
				action="#{pluginsBean.doConfigure}" />
		</h:column>
	</h:dataTable>
	<h:messages />
</h:body>
</html>